import { Field, ObjectType } from '@nestjs/graphql'
@ObjectType()
export class OSSType {
    @Field({description:'host'})
    host: string;
    @Field({description:'policy'})
    policy: string;
    @Field({description:'加密版本'})
    x_oss_signature_version: string;
    @Field({description:'x_oss_credential'})
    x_oss_credential: string;
    @Field({description:'签名过期时间'})
    x_oss_date: string;
    @Field({description:'签名'})
    signature: string;
    @Field({description:'STS临时访问凭证'})
    security_token: string;
    @Field({description:'指定上传到OSS的文件前缀'})
    dir: string;
}